package com.alipay.api.internal.util.json;

import com.alipay.api.internal.util.json.BufferErrorListener;

public class ExceptionErrorListener extends BufferErrorListener {

   public void error(String type, int col) {
      super.error(type, col);
      throw new IllegalArgumentException(this.buffer.toString());
   }
}
